home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Filing / Static / Makefile < prev   
Makefile  |  1995-09-04  |  2KB  |  88 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.Filenames    \
  4.             o.ReadDir    \
  5.             o.ScanDir    \
  6.             o.ScanDirDir    \
  7.             o.Single    \
  8.             o.SingleFull    \
  9.             o.CanonPath    \
  10.             o.File20    \
  11.             o.GBPB10    \
  12.             o.GBPB11    \
  13.             o.GBPB9    \
  14.             o.MakePath    \
  15.             o.Single2    \
  16.             o.SingleFul2    \
  17.  
  18.  
  19. LibName        =    Filing
  20.  
  21. # Template makefile which makes normal 
  22. # .o files for use in the main static
  23. # linking DeskLib.
  24.  
  25. # The macro $(ObjectFiles) should be set at the 
  26. # start of this file to be a space-separated
  27. # list of object files.
  28. # This is done by 'Makatic'.
  29.  
  30. # The macro $(LibName) should also be set at the 
  31. # start of this file, to be the name of the 
  32. # DeskLib sublibrary.
  33. # This is done by 'Makatic'.
  34.  
  35. # Compiler and linker flags, These can be anything. 
  36. # All essential flags are included in the macros 
  37. # $(CC) and $(ASM)
  38. #
  39. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  40. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  41.  
  42. CC        =    cc -c $(CCFlags)
  43. ASM        =    objasm $(ASMFlags)
  44.  
  45.  
  46. # -------------------------------------------------------
  47. # Everything below here should probably not be changed...
  48. # -------------------------------------------------------
  49.  
  50. # Here's what we want to make...
  51. #
  52. All:        $(ObjectFiles)
  53.  
  54.  
  55. VPATH = @.^
  56.  
  57. .SUFFIXES:    .c .s .o
  58.  
  59. .c.o:
  60.     $(CC) $< -o $@
  61.     
  62. .s.o:
  63.     $(ASM) -from $< -to $@
  64.  
  65.  
  66.  
  67. # Dynamic dependencies:
  68. o.Filenames:    ^.c.Filenames
  69. o.Filenames:    DeskLib:h.Core
  70. o.Filenames:    DeskLib:h.Filing
  71. o.ReadDir:    ^.c.ReadDir
  72. o.ReadDir:    DeskLib:h.Core
  73. o.ReadDir:    DeskLib:h.Filing
  74. o.ReadDir:    DeskLib:h.Error
  75. o.ReadDir:    ^.h.Errors
  76. o.ScanDir:    ^.c.ScanDir
  77. o.ScanDir:    DeskLib:h.Core
  78. o.ScanDir:    DeskLib:h.Filing
  79. o.ScanDirDir:    ^.c.ScanDirDir
  80. o.ScanDirDir:    DeskLib:h.Core
  81. o.ScanDirDir:    DeskLib:h.Filing
  82. o.Single:    ^.c.Single
  83. o.Single:    DeskLib:h.Core
  84. o.Single:    DeskLib:h.Filing
  85. o.SingleFull:    ^.c.SingleFull
  86. o.SingleFull:    DeskLib:h.Core
  87. o.SingleFull:    DeskLib:h.Filing
  88.